package com.chat.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chat.domain.pojo.Message;

import java.util.List;

/**
 * @author wb
 * @since 2025-06-06
 */
public interface MessageService extends IService<Message> {

    List<Message> getMessagesByChatId(String chatId);


    Boolean updateReadStatus(String chatId, Integer userId);
}
